package com.cjy.discuss.service;

import com.cjy.discuss.entity.Comment;

import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;


import java.util.List;
import java.util.Map;

@Service
public interface CommentService {
    List<Comment> findAll();
    void  save(Comment comment);
    void  getCommentById(String id);
    void updateComment(Comment comment);
    void deleteComment(String id);
    Comment findCommentById(String id);

    Page<Comment> findCommentListPageByParentid(String parentid, int page , int size);

    void updateCommentLikenumThumbup(String id);
}
